<div class="grid_12">
<div class="box">

<div class="header">
   <?php echo $this->Html->image('icons/packs/fugue/16x16/ui-text-field-format.png'); 
  // debug($razascria);
   ?>
   <h3>Editar razas criadero <?php echo $razascria[0]['Criadero']['nombre'];?></h3>
   <span></span>
</div>
<div class="content">
<table id="table-example" class="table">
  <tr>
    <th>Raza</th>
    <th>Acci&oacute;n</th>
  </tr>
<?php foreach($razascria as $raza): ?>
  <tr>
     <td><?php echo $raza['Raza']['nombre']?></td>
     <td>
     <?php echo $this->Html->link('editar',array('action'=>"editraza",$raza['CriaderosRaza']['id']),array('escape' => false)); ?>&nbsp;
         <?php echo $this->Html->link('eliminar',array('action'=>"eliminaraza",$raza['CriaderosRaza']['id'], $id),array('escape' => false)); ?>
     </td>
  </tr>
  <?php endforeach;?> 
</table>
   
</div><!--fin content-->
<div class="actions">
   <div class="actions-left">
      <input type="reset" value="Volver" />
   </div>
   <div class="actions-right">
    <?php echo $this->Html->link('ANADIR RAZAS', array('action'=>'insertaraza', $id));?>										
   </div>
</div>

</div><!--end div box-->
</div>
<div class="grid_4">
			<div id="blocks" class="box tabbed">
		 		<div class="header">
				<h3>Acciones</h3>
				</div>
				<div class="content">
					<ul id="block-list-icons" class="block-list with-icon tab-content">
						<li class="i-16-calendar"><?php echo $this->Html->link('Lista criaderos', array('action'=>'index'));?></li>
						<li class="i-16-application"><?php echo $this->Html->link('Registrar nuevo', array('action'=>'insertar'));?></li>
						<li class="i-16-chart">Reportes</li>
						<li class="i-16-balloon">Lorem ipsum</li>
					</ul>
				</div> <!-- End of .content -->
				</div> <!-- End of .box -->
</div> <!-- End of .grid_4 -->